package com.mxchip.livestar.ui.network.wifi.adapter;

import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.mxchip.livestar.R;
import com.mxchip.livestar.ui.network.wifi.adapter.base.WifiViewHolder;
import com.mxchip.livestar.ui.network.wifi.adapter.base.i.BaseRecyclerViewAdapter;
import com.mxchip.livestar.ui.network.wifimanager.IWifi;


/**
 * author  : hacknife
 * e-mail  : 4884280@qq.com
 * github  : http://github.com/hacknife
 * project : MVVM
 */
public class WifiAdapter extends BaseRecyclerViewAdapter<IWifi, WifiViewHolder> {
    public WifiAdapter() {
    }

    @Override
    public WifiViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new WifiViewHolder(LayoutInflater.from(parent.getContext()).inflate(R.layout.item_wifi, null));
    }

}
